import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
import pinia from './stores'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from '@/router';
import apiClient from '@/config/request'; 

const app = createApp(App)
// Attach axios instance to Vue app
app.config.globalProperties.$axios = apiClient;
app.use(pinia)
app.use(ElementPlus)
app.use(router);
app.mount('#app')
